package com.cloudkinto.bo.order.inbound;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 收货确认
 *
 * @author long
 */
@Data
public class NormalReceiptConfirmBo {
    @ApiModelProperty("入库单号")
    @NotEmpty(message = "入库单号不可为空")
    private String sourceNo;

    @ApiModelProperty("本次接收托盘数")
    private Integer palletQty;

    @ApiModelProperty("本次接收产品")
    @NotNull(message = "Receipt_Detail_Not_Null")
    private List<NormalReceiptConfirmDetailBo> detailList;
}
